libkovan
1
The kovan standard library
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
create.h
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright 2012 KISS Institute for Practical Robotics *
3
* *
4
* This file is part of libkovan. *
5
* *
6
* libkovan is free software: you can redistribute it and/or modify *
7
* it under the terms of the GNU General Public License as published by *
8
* the Free Software Foundation, either version 2 of the License, or *
9
* (at your option) any later version. *
10
* *
11
* libkovan is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License *
17
* along with libkovan. Check the LICENSE file in the project root. *
18
* If not, see <http://www.gnu.org/licenses/>. *
19
**************************************************************************/
20
29
#ifndef _CREATE_H_
30
#define _CREATE_H_
31
32
#include "
export.h
"
33
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
45
EXPORT_SYM
int
create_connect
();
46
53
EXPORT_SYM
int
create_connect_once
();
54
60
EXPORT_SYM
void
create_disconnect
() ;
61
EXPORT_SYM
void
create_start
();
62
EXPORT_SYM
void
create_passive
();
63
EXPORT_SYM
void
create_safe
();
64
EXPORT_SYM
void
create_full
() ;
65
EXPORT_SYM
void
create_spot
() ;
66
EXPORT_SYM
void
create_cover
();
67
EXPORT_SYM
void
create_demo
(
int
d) ;
68
EXPORT_SYM
void
create_cover_dock
();
69
EXPORT_SYM
int
get_create_mode
();
70
EXPORT_SYM
int
get_create_lbump
();
71
EXPORT_SYM
int
get_create_rbump
();
72
EXPORT_SYM
int
get_create_lwdrop
();
73
EXPORT_SYM
int
get_create_cwdrop
();
74
EXPORT_SYM
int
get_create_rwdrop
();
75
EXPORT_SYM
int
get_create_wall
();
76
EXPORT_SYM
int
get_create_lcliff
();
77
EXPORT_SYM
int
get_create_lfcliff
();
78
EXPORT_SYM
int
get_create_rfcliff
();
79
EXPORT_SYM
int
get_create_rcliff
();
80
EXPORT_SYM
int
get_create_vwall
();
81
EXPORT_SYM
int
get_create_overcurrents
();
82
EXPORT_SYM
int
get_create_infrared
();
83
EXPORT_SYM
int
get_create_advance_button
();
84
EXPORT_SYM
int
get_create_play_button
();
85
EXPORT_SYM
int
get_create_normalized_angle
();
86
EXPORT_SYM
void
set_create_normalized_angle
(
int
angle);
87
EXPORT_SYM
int
get_create_total_angle
();
88
EXPORT_SYM
void
set_create_total_angle
(
int
angle);
89
EXPORT_SYM
int
get_create_distance
();
90
EXPORT_SYM
void
set_create_distance
(
int
dist);
91
EXPORT_SYM
int
get_create_battery_charging_state
();
92
EXPORT_SYM
int
get_create_battery_voltage
();
93
EXPORT_SYM
int
get_create_battery_current
();
94
EXPORT_SYM
int
get_create_battery_temp
();
95
EXPORT_SYM
int
get_create_battery_charge
();
96
EXPORT_SYM
int
get_create_battery_capacity
();
97
EXPORT_SYM
int
get_create_wall_amt
();
98
EXPORT_SYM
int
get_create_lcliff_amt
();
99
EXPORT_SYM
int
get_create_lfcliff_amt
();
100
EXPORT_SYM
int
get_create_rfcliff_amt
();
101
EXPORT_SYM
int
get_create_rcliff_amt
();
102
EXPORT_SYM
int
get_create_bay_DI
();
103
EXPORT_SYM
int
get_create_bay_AI
();
104
EXPORT_SYM
int
get_create_song_number
();
105
EXPORT_SYM
int
get_create_song_playing
();
106
EXPORT_SYM
int
get_create_number_of_stream_packets
();
107
EXPORT_SYM
int
get_create_requested_velocity
();
108
EXPORT_SYM
int
get_create_requested_radius
();
109
EXPORT_SYM
int
get_create_requested_right_velocity
();
110
EXPORT_SYM
int
get_create_requested_left_velocity
();
111
EXPORT_SYM
void
create_stop
();
112
EXPORT_SYM
void
create_drive
(
int
speed,
int
radius);
113
EXPORT_SYM
void
create_drive_straight
(
int
speed);
114
EXPORT_SYM
void
create_spin_CW
(
int
speed);
115
EXPORT_SYM
void
create_spin_CCW
(
int
speed);
116
EXPORT_SYM
void
create_drive_direct
(
int
l_speed,
int
r_speed);
117
EXPORT_SYM
void
create_spin_block
(
int
speed,
int
angle);
118
EXPORT_SYM
int
_create_get_raw_encoders
(
long
*lenc,
long
*renc);
119
EXPORT_SYM
void
create_advance_led
(
int
on) ;
120
EXPORT_SYM
void
create_play_led
(
int
on) ;
121
EXPORT_SYM
void
create_power_led
(
int
color,
int
brightness) ;
122
EXPORT_SYM
void
create_digital_output
(
int
bits);
123
EXPORT_SYM
void
create_pwm_low_side_drivers
(
int
pwm2,
int
pwm1,
int
pwm0);
124
EXPORT_SYM
void
create_low_side_drivers
(
int
pwm2,
int
pwm1,
int
pwm0);
125
EXPORT_SYM
void
create_load_song
(
int
num);
126
EXPORT_SYM
void
create_play_song
(
int
num);
127
EXPORT_SYM
int
create_read_block
(
char
*data,
int
count);
128
EXPORT_SYM
void
create_write_byte
(
char
byte);
129
EXPORT_SYM
void
create_clear_serial_buffer
();
130
131
#ifdef __cplusplus
132
}
133
#endif
134
135
#endif
include
kovan
create.h
Generated on Mon Aug 19 2013 00:33:00 for libkovan by
1.8.4